package example.chapter2;

import java.util.Date;

public class PrintDateAction {
	private Date currDate;
	
	public String execute() throws Exception{
		currDate = new Date();
		return "success";
	}

	public Date getCurrDate() {
		return currDate;
	}

	public void setCurrDate(Date currDate) {
		this.currDate = currDate;
	}
}
